package com.example.invoicing.service;

import com.example.invoicing.dao.InboundOutboundMapper;
import com.example.invoicing.dao.UserMapper;
import com.example.invoicing.pojo.InboundOutbound;
import com.example.invoicing.pojo.SalesRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InboundOutboundService {
    @Autowired
    private InboundOutboundMapper inboundOutboundMapper;


    public int deleteByPrimaryKey(String id){
        return inboundOutboundMapper.deleteByPrimaryKey(id);
    }


    public int insertSelective(InboundOutbound record){
        return inboundOutboundMapper.insertSelective(record);
    }

    public InboundOutbound selectByPrimaryKey(String id){
        return inboundOutboundMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(InboundOutbound record){
        return inboundOutboundMapper.updateByPrimaryKeySelective(record);
    }

    public List<InboundOutbound> queryInboundOutboundList(InboundOutbound record){
        return inboundOutboundMapper.queryInboundOutboundList(record);
    }

    public int queryCountLike(InboundOutbound record){
        return inboundOutboundMapper.queryCountLike(record);
    }
}
